<tagLib name="strends" />
<include file="Public:header" />
<div class="handle-btns">
	<strends:linkBtn text="{%RETURN_LIST}" href="{:U(MODULE_NAME.'/index')}" />
</div>
<form method='post' id="form" name="form" action="{:U(MODULE_NAME.'/insert')}" enctype="multipart/form-data">
<table cellpadding="4" cellspacing="0" border="0" class="table-form">
	<tr>
		<th width="180">{%TITLES}</th>
		<td><input type="text" class="textinput requireinput" name="titles" value=""/></td>
	</tr>
	<tr>
		<th width="180">{%MODEL}</th>
		<td><input type="text" class="textinput requireinput" name="model" value=""/></td>
	</tr>
 	<tr>
		<th>{%THUMBS}</th>
		<td>
			<input type="file" class="fileinput" name="thumbs" size="30"/>
			<if condition="$vo['thumbs'] neq ''">
				<a href="__ROOT__/{$vo['thumbs']}" target="_blank" >{%VIEW}</a>
			</if>
		</td>
	</tr>
	<tr>
		<th width="180">{%STYLIST}</th>
		<td><input type="text" class="textinput requireinput" name="stylist" value=""/></td>
	</tr>
	<tr>
		<th>{%ISSHOW}</th>
		<td>
			<select name="isshow" >
				<option value="1"   >显示</option>		
				<option value="0">不显示</option>
			</select> 
		</td>
	</tr>
	<tr class="act">
		<th>&nbsp;</th>
		<td>
			<input type="hidden" name="id" value="{$vo.id}" />
			<input type="submit" class="submit_btn" value="{%SUBMIT}" />
			<input type="reset" class="reset_btn" value="{%RESET}" />
		</td>
	</tr>
</table>
</form>
<script type="text/javascript">
function dblTag(obj)
{
	if(obj.getAttribute('rel') == 0)
	{
		obj.setAttribute('rel',1);
		$(obj).prependTo($("#category_tag_list"));
	}
	else
	{
		obj.setAttribute('rel',0);
		document.getElementById("tag_list").appendChild(obj);
	}
}
</script>
<include file="Public:footer" />